package com.example.service;

import com.example.pojo.User;

import java.util.Map;

public interface UserService {
    User findByUserName(String username);

    void register(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl);


    void updatePwd(String new_pwd);
}
